package router

import (
	"art-man-sys/handlers"
	"github.com/gin-gonic/gin"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.Static("/Static", "/Static")
	r.POST("/add", handlers.Add)
	r.GET("/list", handlers.List)
	return r
}
